package com.server.libs.ret;

import lombok.Data;

@Data
public class RE extends RuntimeException{

    protected Integer errorCode;
    protected String errorMsg;

    public RE(){

    }
    public RE(Integer errorCode, String errorMsg) {
        this.errorCode = errorCode;
        this.errorMsg = errorMsg;
    }
    public RE(String errorMsg) {
        this.errorCode = 400;
        this.errorMsg = errorMsg;
    }

}
